{temp('html/recruit/pc/head')}

	<script>
	function sctp(id,mc,src){//上传
		{if(@$sfzsmj)}
		art.dialog.open('{$_url}/?act=upfile&id='+id+'&type=1&mc='+mc+'&src='+src,{title:'',lock:true},false);
		{else}
		art.dialog.open('{$_url}/?act=upfile&id='+id+'&type=1&mc='+mc,{title:'',lock:true},false);
		{/if}
	}
	
	function gbdz(id,nn,cc){//改变地址
		$.post('{$_url}/?act=get_diqu',{id:id},function(data){
			$("#"+nn).html(data);
			if(cc != ''){
				$("#"+cc).html('<option value="0">请选择</option>');
			}
		});
	}
	
	function tijiao(){
		var name = $("#name").val();
		var sex = $('input:radio[name=sex]:checked').val();
		var cstime = $("#cstime").val();
		var xsheng = $("#xsheng").val();
		var xshi = $("#xshi").val();
		var xqu = $("#xqu").val();
		var xsq = $("#xsq").val();
		var byyx = $("#byyx").val();
		var minzu = $("#minzu").val();
		var sfzh = $("#sfzh").val();
		var gzzmsmj = $("#gzzmsmj").val();
		var sfzsmj = $("#sfzsmj").val();
		var scly = $("#scly").val();
		var zycj = $("#zycj").val();
		$.post('{$_url}/?act=job&met=pt_xgzl&type=1',{name:name,sex:sex,cstime:cstime,
			xsheng:xsheng,xshi:xshi,xqu:xqu,xsq:xsq,byyx:byyx,minzu:minzu,
			sfzh:sfzh,gzzmsmj:gzzmsmj,sfzsmj:sfzsmj,scly:scly,zycj:zycj},function(data){
			if(data == '修改成功'){
				location.href='{$_url}/?act=job&met=vipzjzl';
			}else{
				alert(data);
			}
		});
	}
	</script>
</head>
<body>
	{temp('html/recruit/pc/zjia/toubu')}

		<!--主体内容-->
		<div class="w_bai dis_inline t_m10 t_c">
			<!--详细-->
			<div class="w_1100 auto_0">
				<!--左侧-->
				<div class="w_286 f_l c_656565 bc_FFF bor_C6 xddw" style="margin-top:-61px">
					<!--右阴影图片-->
					<div class="f_r xddw" style="margin-right:-38px;margin-top:-1px">
						<img src="{$style}/images/yinying_you2.png">
					</div>
					<!--右阴影图片结束-->
					<!--标题-->
					<div class="h_50 l_h50 f_s18 bc_127ABF c_FFF t_l">
						<span class="l_m20">基本信息</span>
					</div>
					<!--标题结束-->
					<!--列表-->
					<div id="geren_zuo">
						<ul>
							<li id="list">
								<div class="f_l ziliao2"></div>
								<div class="dis_inline l_m10">
									<a href="{$_url}/?act=job&met=vipzjzl">完善资料</a>
								</div>
							</li>
							<div class="bor_C6 bor_di_none t_m5"></div>

							<li id="list2">
								<div class="f_l ren"></div>
								<div class="dis_inline l_m10">
									<a href="{$_url}/?act=job&met=zj_txsc">上传专家头像</a>
								</div>
							</li>
							<div class="bor_C6 bor_di_none t_m5"></div>
							
							<li id="list2">
								<div class="f_l xiupwd"></div>
								<div class="dis_inline l_m15">
									<a href="{$_url}/?act=job&met=zj_xgmm">修改密码</a>
								</div>
							</li>
							<div class="bor_C6 bor_di_none t_m5"></div>
							
							<li id="list2">
								<div class="f_l qy_email t_m5"></div>
								<div class="dis_inline l_m12">
									<a href="{$_url}/?act=job&met=zj_xgyx">修改E-mail</a>
								</div>
							</li>
							<div class="bor_C6 bor_di_none t_m5"></div>
							
							<li id="list2">
								<div class="f_l t_m3 dianhua"></div>
								<div class="dis_inline l_m12">
									<a href="{$_url}/?act=job&met=zj_xgsj">修改联系电话</a>
								</div>
							</li>
							<div class="bor_C6 bor_di_none t_m5"></div>
							
						</ul>
					</div>
					<!--列表结束-->
				</div>
				<!--左侧结束-->
				<!--右侧-->
				<div class="w_804 l_m5 f_r bc_FFF bor_C6 t_l">
					<!--标题-->
					<div class="t_m15 l_m20">
						<span class="f_s20 c_323131">完善资料</span>
						<span class="c_7D7D7D">(请认真填写专家资料，保证信息的准确和完整)</span>
					</div>
					<!--标题结束-->
					<!--分割线-->
					<div class="bor_C6 bor_di_none t_m10"></div>
					<!--分割线结束-->
					<!--基本信息-->
					<div class="w_bai t_m25">
						<!--图标及提示字-->
						<div class="w_bai dis_inline">
							<div class="geren f_l t_m3 l_m20"></div>
							<div class="f_l l_m5 f_s18 c_323131">基本信息</div>
						</div>
						<!--图标及提示字结束-->
						<!--内容-->
						<div class="t_m15 l_m40 dis_inline">
							<!--真实姓名-->
							<div class="w_bai t_m15 dis_inline">
								<div class="f_l t_m8 l_m25">
									<span class="f_l c_FF4700" style="margin-right:5px;">*</span>
									<span class="c_656565">真实姓名</span>
								</div>
								<div class="f_l l_m10">
									<input type="text" class="inp_msg" placeholder="如：张三" value="{if(@$user['name'])}{$user['name']}{/if}" id="name" />
								</div>
							</div>
							<!--真实姓名结束-->
							<!--性别-->
							<div class="w_bai t_m5 dis_inline">
								<div class="f_l t_m8 l_m52"  style="_margin-left:39px">
									<span class="f_l c_FF4700" style="margin-right:5px;">*</span>
									<span class="c_656565">性别</span>
								</div>
								<div class="f_l t_m8 c_656565" style="margin-left:10px!important;margin-left:15px">
									<input type="radio" name="sex" {if(@$user['sex'] == 1)}checked="checked"{/if} value="1" />男
									<input type="radio" name="sex" {if(@$user['sex'] == 2)}checked="checked"{/if}class="l_m20" value="2" />女
									<input type="radio" name="sex" {if(@$user['sex'] == 0)}checked="checked"{/if} class="l_m20" value="0" />保密
								</div>
							</div>
							<!--性别结束-->
							<!--民族-->
							<div class="w_bai t_m15 l_m12 dis_inline">
								<div class="f_l t_m8 l_m52"  style="_margin-left:39px">
									<span class="c_656565">民族</span>
								</div>
								<div class="f_l l_m10">
									<input type="text" class="inp_msg" placeholder="如：汉" id="minzu" value="{if(@$user['minzu'])}{$user['minzu']}{/if}" />
								</div>
							</div>
							<!--民族结束-->
							<!--出生日期-->
							<div class="w_bai t_m15 dis_inline">
								<div class="f_l t_m8 l_m25">
									<span class="f_l c_FF4700" style="margin-right:5px;">*</span>
									<span class="c_656565">出生日期</span>
								</div>
								<div class="f_l l_m10">
									<input class="Wdate" type="text" id="cstime" value="{if(@$user['cstime'])}{code(echo date('Y-m-d',$user['cstime']))}{/if}"
                            onfocus="WdatePicker({firstDayOfWeek:0,isShowClear:false,isShowOK:false,isShowToday:false})"/>
								</div>
							</div>
							<!--出生日期结束-->
							<!--现所在地-->
							<div class="w_bai t_m15 dis_inline">
								<div class="f_l t_m8 l_m25">
									<span class="f_l c_FF4700" style="margin-right:5px;">*</span>
									<span class="c_656565">现所在地</span>
								</div>
								<div class="f_l" style="margin-left:10px!important;margin-left:20px">
									<div class="select-outer select-wh95 f_l">
										<div class="select-inner">
											<select id="xsheng" onChange="gbdz(this.value,'xshi','xqu')" class="select-h">
												<option value="0">请选择</option>
												{if(@$sh)}
							        			{foreach($sh as $k=>$v)}
							        			<option {if(@$user['xsheng'] == $v['area_id'])}selected="selected"{/if} value="{$v['area_id']}">{$v['area_name']}</option>
							        			{/foreach}
							        			{/if}
											</select>
										</div>
									</div>
									<div class="select-outer select-wh95 f_l l_m5">
										<div class="select-inner">
											<select id="xshi" onChange="gbdz(this.value,'xqu','')" class="select-h">
												<option value="0">请选择</option>
							        			{if(@$shi)}
							        			{foreach($shi as $k=>$v)}
							        			<option {if(@$user['xshi'] == $v['area_id'])}selected="selected"{/if} value="{$v['area_id']}">{$v['area_name']}</option>
							        			{/foreach}
							        			{/if}
											</select>
										</div>
									</div>
									<div class="select-outer select-wh95 f_l l_m5">
										<div class="select-inner">
											<select id="xqu" class="select-h">
												<option value="0">请选择</option>
							        			{if(@$qu)}
							        			{foreach($qu as $k=>$v)}
							        			<option {if(@$user['xqu'] == $v['area_id'])}selected="selected"{/if} value="{$v['area_id']}">{$v['area_name']}</option>
							        			{/foreach}
							        			{/if}
											</select>
										</div>
									</div>
									<input type="text" class="inp_msg f_l l_m5" id="xsq" value="{if(@$user['xsq'])}{$user['xsq']}{/if}" placeholder="详细地址" />
								</div>
							</div>
							<!--现所在地结束-->
							<!--毕业院校-->
							<div class="w_bai t_m15 l_m12 dis_inline">
								<div class="f_l t_m8 l_m25">
									<span class="c_656565">毕业院校</span>
								</div>
								<div class="f_l l_m10">
									<input type="text" id="byyx" class="inp_msg" value="{if(@$user['byyx'])}{$user['byyx']}{/if}" />
								</div>
							</div>
							<!--毕业院校结束-->
							<!--擅长领域-->
							<div class="w_bai t_m15 dis_inline">
								<div class="f_l t_m8 l_m25">
									<span class="f_l c_FF4700" style="margin-right:5px;">*</span>
									<span class="c_656565">擅长领域</span>
								</div>
								<div class="f_l l_m10">
									<textarea rows="3" cols="20" id="scly">{if(@$user['scly'])}{$user['scly']}{/if}</textarea>
								</div>
							</div>
							<!--擅长领域结束-->
							<!--主要成就-->
							<div class="w_bai t_m15 dis_inline">
								<div class="f_l t_m8 l_m25">
									<span class="f_l c_FF4700" style="margin-right:5px;">*</span>
									<span class="c_656565">主要成就</span>
								</div>
								<div class="f_l l_m10">
									<textarea rows="3" cols="20" id="zycj">{if(@$user['zycj'])}{$user['zycj']}{/if}</textarea>
								</div>
							</div>
							<!--主要成就结束-->
							<!--身份证号-->
							<div class="w_bai t_m15 dis_inline">
								<div class="f_l t_m8 l_m25">
									<span class="f_l c_FF4700" style="margin-right:5px;">*</span>
									<span class="c_656565">身份证号</span>
								</div>
								<div class="f_l l_m10">
									<input type="text" class="inp_msg" id="sfzh" value="{if(@$user['sfzh'])}{$user['sfzh']}{/if}" />
								</div>
							</div>
							<!--身份证号结束-->
							<!--身份证件-->
							<div class="w_bai t_m15 l_m12 dis_inline">
								<div class="f_l t_m8 l_m25">
									<span class="c_656565">身份证件</span>
								</div>
								<div class="f_l l_m10">
									<input type="text" class="inp_msg" id="jj" value="{if(@$sfzsmj)}{$sfzsmj}{/if}" />
									<input type="hidden" class="inp_msg" id="sfzsmj" value="{if(@$user['sfzsmj'])}{$user['sfzsmj']}{/if}" />
								</div>
								<div class="f_l l_m10">
									<div class="f_l w_80 h_35 bc_E7E7E7 c_656565 t_c l_h35 point" onClick="sctp('sfzsmj','jj','sfz')">...浏览</div>
									<span class="f_l t_m8 c_7D7D7D">（请上传身份证扫描件）</span>
								</div>
							</div>
							{if(@$sfzsmj)}
							<div class="w_bai t_m15 dis_inline">
								<div class="f_l t_m8 l_m52">
								</div>
								<div class="f_l l_m50">
									<img src="{if(@$user['sfzsmj'])}{photo({$user['sfzsmj']})}{/if}" width="173" height="173" id="sfz"/>
								</div>
							</div>
							{/if}
							<!--身份证件结束-->
							<!--工作证明-->
							<div class="w_bai t_m15 l_m12 dis_inline">
								<div class="f_l t_m8 l_m25">
									<span class="c_656565">工作证明</span>
								</div>
								<div class="f_l l_m10">
									<input type="text" class="inp_msg" id="ii" value="{if(@$gzzmsmj)}{$gzzmsmj}{/if}"/>
									<input type="hidden" class="inp_msg" id="gzzmsmj"  value="{if(@$user['gzzmsmj'])}{$user['gzzmsmj']}{/if}"/>
								</div>
								<div class="f_l l_m10">
									<div class="f_l w_80 h_35 bc_E7E7E7 c_656565 t_c l_h35 point" onClick="sctp('gzzmsmj','ii','gzz')">...浏览</div>
									<span class="f_l t_m8 c_7D7D7D">（请上传工作证明扫描件）</span>
								</div>
							</div>
							{if(@$gzzmsmj)}
							<div class="w_bai t_m15 dis_inline">
								<div class="f_l t_m8 l_m52">
								</div>
								<div class="f_l l_m50">
									<img src="{if(@$user['gzzmsmj'])}{photo({$user['gzzmsmj']})}{/if}" width="173" height="173" id="gzz" />
								</div>
							</div>
							{/if}
							<!--工作证明结束-->
						</div>
						<!--内容结束-->
					</div>
					<!--基本信息结束-->
					<!--确认按钮-->
					<div class="w_bai t_m40 b_m50 dis_inline">
						<div class="f_l w_120">&nbsp;</div>
						<div class="f_l w_200 h_35 l_h35 bc_E16400 c_FFF t_c point" 
							style="margin-left:11px!important;margin-left:21px;_margin-left:47px" onClick="tijiao()">
							保存专家信息
						</div>
					</div>
					<!--确认按钮结束-->
				</div>
				<!--右侧结束-->
			</div>
			<!--详细结束-->
		</div>
		<!--主体内容结束-->

{temp('html/recruit/pc/foot')}